﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Guardian-Detail.aspx.cs" Inherits="student_Guardian_Detail" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolKit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Student Profile</title>

    <script src="../include/js/form.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyContentTop" runat="Server">
    <h1>
        Guardian/Family Profile</h1>
    <h3>
        Setting up guardian/family profile.</h3>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="bodyContent" runat="Server">
    <div class="elements_inner_wrapper">
        <div id="contentBody">
            <div class="section">
                <div class="seperator">
                </div>
                <fieldset class="formouter">
                    <table cellpadding="3" cellspacing="3" width="100%">
                        <tr>
                            <td colspan="2">
                                <div class="row_curved" id="divSchoolList" runat="server" title="Example:UCSM, MIT, YTU">
                                    <label for="<%=ddlSchoolList.ClientID%>" class="mand_red">
                                        <asp:Label runat="server" Text="Selected School Name" ID="Label2" /></label>
                                    <div class="field">
                                        <span class="indicator">
                                            <asp:DropDownList AutoPostBack="True" runat="server" ID="ddlSchoolList" OnSelectedIndexChanged="ddlSchoolList_SelectedIndexChanged"
                                                DataSourceID="ObjectDataSource1" DataTextField="ListText" DataValueField="ListValue" />
                                            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" DataObjectTypeName="SIS.ENT.Listing"
                                                DeleteMethod="Delete" OldValuesParameterFormatString="original_{0}" SelectMethod="GetList"
                                                TypeName="SIS.BLL.ListingManager" UpdateMethod="Save">
                                                <SelectParameters>
                                                    <asp:Parameter DefaultValue="1" Name="ListType" Type="Int32" />
                                                </SelectParameters>
                                            </asp:ObjectDataSource>
                                            <br />
                                            <br />
                                            <asp:Button runat="server" ID="btnAddNewStudent" Text="Add New Student" OnClick="btnAddNewStudent_Click" />
                                            &nbsp;&nbsp;<asp:Button runat="server" ID="btnViewStudentList" Text="View Student List"
                                                OnClick="btnViewStudentList_Click" />
                                        </span>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div id="divStudentProfile" runat="server" visible="false">
                                    <h2>
                                        Select Student</h2>
                                    <asp:GridView ID="grvStudentProfile" runat="server" AutoGenerateColumns="False" DataKeyNames="UserAccountKey"
                                        CellPadding="4" Width="750px" DataSourceID="sqlDSStudentList" ForeColor="#333333"
                                        GridLines="None" OnSelectedIndexChanged="grvStudentProfile_SelectedIndexChanged">
                                        <RowStyle BackColor="#EFF3FB" />
                                        <Columns>
                                            <asp:BoundField DataField="StudentProfileKey" HeaderText="StudentProfileKey" InsertVisible="False"
                                                ReadOnly="True" SortExpression="StudentProfileKey" Visible="False" />
                                            <asp:BoundField DataField="StudentProfileKey" HeaderText="ID" SortExpression="StudentProfileKey" />
                                            <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                                            <asp:BoundField DataField="LastName" HeaderText="SurName" SortExpression="LastName" />
                                            <asp:BoundField DataField="OtherName" HeaderText="OtherName" SortExpression="OtherName" />
                                            <asp:BoundField DataField="CreatedDateTime" HeaderText="CreatedDateTime" SortExpression="CreatedDateTime"
                                                Visible="False" />
                                            <asp:BoundField DataField="ModifiedDateTime" HeaderText="ModifiedDateTime" ReadOnly="True"
                                                SortExpression="ModifiedDateTime" />
                                            <%--<asp:HyperLinkField Text="Edit Details" DataNavigateUrlFormatString="~/student/?id={0}"
                                                    DataNavigateUrlFields="UserAccountKey" Target="_blank" />
                                                <asp:HyperLinkField Text="Register" DataNavigateUrlFormatString="~/student/student-registration.aspx?id={0}"
                                                    DataNavigateUrlFields="UserAccountKey" Target="_blank" />--%>
                                            <asp:CommandField ShowSelectButton="True" ButtonType="Link" />
                                        </Columns>
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <EmptyDataTemplate>
                                            Please add new student of selected school.
                                        </EmptyDataTemplate>
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <EditRowStyle BackColor="#2461BF" />
                                        <AlternatingRowStyle BackColor="White" />
                                    </asp:GridView>
                                    <asp:SqlDataSource ID="sqlDSStudentList" runat="server" ConnectionString="<%$ ConnectionStrings:sis.dbconn %>"
                                        SelectCommand="sprocStudentProfileTableSelectList" SelectCommandType="StoredProcedure">
                                        <SelectParameters>
                                            <asp:ControlParameter ControlID="ddlSchoolList" Name="SchoolKey" PropertyName="SelectedValue"
                                                Type="Int32" />
                                        </SelectParameters>
                                    </asp:SqlDataSource>
                                </div>
                                <div id="divStudentDetails" runat="server" visible="false">
                                    <asp:HyperLink runat="server" ID="hplStudent" Text="Edit Student Details" NavigateUrl="~/student/default.aspx"></asp:HyperLink>
                                    <table cellpadding="5" cellspacing="3" width="100%" style="background-color: #ffffcc;">
                                        <tr>
                                            <td>
                                                <b>Student Name</b>
                                            </td>
                                            <td>
                                                :
                                            </td>
                                            <td>
                                                <asp:Label runat="server" ID="lblStudentFullName" Font-Size="Medium" Font-Bold="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>NRIC Number</b>
                                            </td>
                                            <td>
                                                :
                                            </td>
                                            <td>
                                                <asp:Label runat="server" ID="lblStudentNRICNumber" Font-Size="Medium" Font-Bold="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>Contact Info</b>
                                            </td>
                                            <td>
                                                :
                                            </td>
                                            <td>
                                                <asp:Label runat="server" ID="lblStudentContactInfo" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <b>Resident Address</b>
                                            </td>
                                            <td>
                                                :
                                            </td>
                                            <td>
                                                <asp:Label runat="server" ID="lblStudentAddressInfo" />
                                                <div runat="server" id="divStudentAddressInfo">
                                                    <div class="row_curved" id="divSRUnitNo" runat="server">
                                                        <label for="<%=txtSRUnitNo.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="UnitNo" ID="Label3" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:TextBox ID="txtSRUnitNo" Width="120px" MaxLength="20" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvSRUnitNo" ValidationGroup="GuardianProfile" ControlToValidate="txtSRUnitNo"
                                                                    runat="server" CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divSRStreetName" runat="server">
                                                        <label for="<%=txtSRStreetName.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="Street Name" ID="Label5" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:TextBox ID="txtSRStreetName" Width="270px" MaxLength="255" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvSRStreetName" ValidationGroup="GuardianProfile"
                                                                    ControlToValidate="txtSRStreetName" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divSRCountry" runat="server">
                                                        <label for="<%=ddlSRCountry.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="Country" ID="Label6" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlSRCountry" OnSelectedIndexChanged="ddlSRCountry_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvSRCountry" ValidationGroup="GuardianProfile" ControlToValidate="ddlSRCountry"
                                                                    InitialValue="-1" runat="server" CssClass="validationErrorControl" Display="Dynamic"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                            <label for="<%=ddlSRDistrict.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="State/Div" ID="Label7" /></label>
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlSRDistrict" OnSelectedIndexChanged="ddlSRDistrict_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvSRDistrict" ValidationGroup="GuardianProfile"
                                                                    ControlToValidate="ddlSRDistrict" InitialValue="-1" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divSRCity" runat="server">
                                                        <label for="<%=ddlSRCity.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="City Name" ID="Label8" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlSRCity">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvSRCity" ValidationGroup="GuardianProfile" ControlToValidate="ddlSRCity"
                                                                    InitialValue="-1" runat="server" CssClass="validationErrorControl" Display="Dynamic"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                            <label for="<%=txtSRPostCode.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="Postal" ID="Label9" /></label>
                                                            <span class="indicator">
                                                                <asp:TextBox Width="100px" ID="txtSRPostCode" MaxLength="50" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvSRPostCode" ValidationGroup="GuardianProfile"
                                                                    ControlToValidate="txtSRPostCode" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <h2>
                                    Student And Guardian/Family Relation List</h2>
                                <asp:GridView ID="gvRelationList" runat="server" AutoGenerateColumns="False" DataKeyNames="GSAutoID,StudentAccountKey,GuardianAccountKey"
                                    CellPadding="4" Width="750px" ForeColor="#333333" GridLines="None" OnSelectedIndexChanged="gvRelationList_SelectedIndexChanged"
                                    DataSourceID="sqlDSRelationList">
                                    <RowStyle BackColor="#EFF3FB" />
                                    <Columns>
                                        <asp:BoundField DataField="GSAutoID" HeaderText="GSAutoID" InsertVisible="False"
                                            ReadOnly="True" SortExpression="GSAutoID" Visible="False" />
                                        <asp:BoundField DataField="StudentAccountKey" HeaderText="StudentAccountKey" SortExpression="StudentAccountKey"
                                            Visible="False" />
                                        <asp:BoundField DataField="GuardianAccountKey" HeaderText="GuardianAccountKey" SortExpression="GuardianAccountKey"
                                            Visible="False" />
                                        <asp:BoundField DataField="RelationshipTypeCode" HeaderText="RelationshipTypeCode"
                                            SortExpression="RelationshipTypeCode" Visible="False" />
                                        <asp:BoundField DataField="FullName" HeaderText="Full Name" SortExpression="FullName" />
                                        <asp:BoundField DataField="OtherName" HeaderText="Other Name" SortExpression="OtherName" />
                                        <asp:BoundField DataField="RelationshipDesc" HeaderText="Relation" SortExpression="RelationshipDesc" />
                                        <asp:BoundField DataField="EmergencyContact" HeaderText="Emergency Contact" SortExpression="EmergencyContact" />
                                        <asp:CheckBoxField DataField="IsMainGuardian" HeaderText="Is Main" SortExpression="IsMainGuardian" />
                                        <asp:CheckBoxField DataField="Status" HeaderText="Status" SortExpression="Status" />
                                        <asp:BoundField DataField="CreatedDateTime" HeaderText="CreatedDateTime" SortExpression="CreatedDateTime"
                                            Visible="False" />
                                        <asp:BoundField DataField="ModifiedDateTime" HeaderText="ModifiedDateTime" SortExpression="ModifiedDateTime" />
                                        <asp:CommandField ShowSelectButton="True" />
                                    </Columns>
                                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <EmptyDataTemplate>
                                        Please add new guardian realation of selected student.
                                    </EmptyDataTemplate>
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <EditRowStyle BackColor="#2461BF" />
                                    <AlternatingRowStyle BackColor="White" />
                                </asp:GridView>
                                <asp:SqlDataSource ID="sqlDSRelationList" runat="server" ConnectionString="<%$ ConnectionStrings:sis.dbconn %>"
                                    SelectCommand="sprocStudentGuardianRelationshipTableSelectList" SelectCommandType="StoredProcedure">
                                    <SelectParameters>
                                        <asp:ControlParameter ControlID="lblStudentUserAccountKey" Name="StudentAccountKey"
                                            PropertyName="Text" Type="Int32" />
                                    </SelectParameters>
                                </asp:SqlDataSource>
                            </td>
                        </tr>
                    </table>
                    <div>
                        <asp:Label runat="server" ID="lblTopMessage" Text="" Font-Bold="true" Font-Size="Large"
                            ForeColor="Red"></asp:Label>
                        <asp:ValidationSummary ID="vsStudentProfile" runat="server" ValidationGroup="GuardianProfile"
                            ShowSummary="True" HeaderText="Please complete all highlighted fields of the form. Thank you."
                            CssClass="errorSummary" />
                        <div id="Div1" runat="server" visible="false">
                            SchoolKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblSchoolKey" /><br />
                            lblStudentUserAccountKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentUserAccountKey" /><br />
                            lblUserAuthCode:<asp:Label Visible="true" runat="server" Text="-1" ID="lblUserAuthCodeDelete" /><br />
                            lblStudentProfileKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentProfileKey" /><br />
                            lblStudentContactKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentContactKey" /><br />
                            lblStudentAddressKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentRAddressKeyDelete" /><br />
                            lblStudentAddressKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentPAddressKeyDelete" /><br />
                            lblStudentAddressKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblStudentMAddressKeyDelete" /><br />
                            lblGuardianAccountKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianAccountKey" /><br />
                            lblGuardianAccountAuthCode:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianAccountAuthCode" /><br />
                            lblGuardinProfileKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianProfileKey" /><br />
                            lblGuardianContactKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianContactKey" /><br />
                            lblGuardianPAddressKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianPAddressKey" /><br />
                            lblGuardianBAddressKey:<asp:Label Visible="true" runat="server" Text="-1" ID="lblGuardianBAddressKey" /><br />
                            lblStudentGuardianRelationTypeKey:<asp:Label Visible="true" runat="server" Text="-1"
                                ID="lblStudentGuardianRelationTypeKey" />
                        </div>
                    </div>
                    <div class="row_curved" id="divGSRelationShip" runat="server" title="Example:UCSM, MIT, YTU">
                        <label for="<%=ddlGSRelation.ClientID%>" class="mand_red">
                            <asp:Label runat="server" Text="Relation" ID="lblGSRelation" /></label>
                        <div class="field">
                            <span class="indicator">
                                <asp:DropDownList runat="server" ID="ddlGSRelation" />
                                <asp:RequiredFieldValidator ID="rfvGSRelation" ValidationGroup="GuardianProfile"
                                    ControlToValidate="ddlGSRelation" runat="server" CssClass="validationErrorControl"
                                    Display="Dynamic" ErrorMessage="" InitialValue="-1"></asp:RequiredFieldValidator>
                            </span>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <AjaxToolKit:TabContainer ID="tbcEntry" runat="server" Enabled="true" Visible="true">
                        <AjaxToolKit:TabPanel ID="tbpInfo" runat="server" HeaderText="Information" CssClass="menuHeader"
                            Visible="true">
                            <HeaderTemplate>
                                <asp:Label ID="lblInfoHeader" CssClass="menuHeader" runat="server">Information</asp:Label>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="3" cellspacing="3" width="100%">
                                    <tr>
                                        <td>
                                            <div class="row_curved" id="divFirstName" runat="server" title="Example:Mg Mg, Kyaw Kyaw, Yu Yu">
                                                <label for="<%=txtFirstName.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="First Name" ID="lblFirstName" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="270px" ID="txtFirstName" MaxLength="50" runat="server" />
                                                        <asp:RequiredFieldValidator ID="rfvFirstName" ValidationGroup="GuardianProfile" ControlToValidate="txtFirstName"
                                                            runat="server" CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divLastName" runat="server">
                                                <label for="<%=txtLastName.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Last Name (SurName)" ID="lblLastName" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="270px" ID="txtLastName" MaxLength="255" runat="server" />
                                                        <asp:RequiredFieldValidator ID="rfvLastName" ValidationGroup="GuardianProfile" ControlToValidate="txtLastName"
                                                            runat="server" CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divOtherName" runat="server">
                                                <label for="<%=txtOtherName.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Other Name" ID="lblOtherName" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="270px" ID="txtOtherName" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div8" runat="server">
                                                <label for="<%=ddlGender.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Gender" ID="Label16" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList ID="ddlGender" runat="server">
                                                            <asp:ListItem Text="Male" Value="M" />
                                                            <asp:ListItem Text="Female" Value="F" />
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divDOB" runat="server">
                                                <label for="<%=ddlDOBYear.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="DOB" ID="Label1" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlDOBDay">
                                                            <asp:ListItem Text="dd" Value="-1"></asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:DropDownList runat="server" ID="ddlDOBMonth">
                                                            <asp:ListItem Text="mm" Value="-1"></asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:DropDownList runat="server" ID="ddlDOBYear">
                                                            <asp:ListItem Text="yy" Value="-1"></asp:ListItem>
                                                        </asp:DropDownList>
                                                        <asp:CustomValidator ID="csvDOB" ValidationGroup="GuardianProfile" OnServerValidate="DOB_ServerSideValidation"
                                                            ControlToValidate="ddlDOBYear" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage=""></asp:CustomValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divNRICNumber" runat="server">
                                                <label for="<%=txtNRICNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="NRIC Number" ID="lblNRICNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox ID="txtNRICNumber" Width="270px" runat="server" />
                                                        <asp:RequiredFieldValidator ID="rfvNRICNumber" ValidationGroup="GuardianProfile"
                                                            ControlToValidate="txtNRICNumber" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divMaritalStatus" runat="server">
                                                <label for="<%=ddlMaritalStatus.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Marital Status" ID="lblMaritalStatus" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlMaritalStatus">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divIsMainGuardian" runat="server">
                                                <label for="<%=chkIsMainGuardian.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Is Main Guardian" ID="lblIsMainGuardian" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:CheckBox runat="server" ID="chkIsMainGuardian" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="row_curved" id="div5" runat="server">
                                                <label for="<%=txtHighestEducation.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Highest Education" ID="Label13" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtHighestEducation" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div6" runat="server">
                                                <label for="<%=txtOccupation.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Occupation" ID="Label14" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtOccupation" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div2" runat="server">
                                                <label for="<%=txtCompanyName.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Company Name" ID="Label10" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtCompanyName" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div3" runat="server">
                                                <label for="<%=txtDesignation.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Designation" ID="Label11" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtDesignation" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div4" runat="server">
                                                <label for="<%=txtCompanyIndustry.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Company Industry" ID="Label12" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtCompanyIndustry" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div7" runat="server">
                                                <label for="<%=ddlCompanySize.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Company Size" ID="Label15" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList ID="ddlCompanySize" runat="server">
                                                            <asp:ListItem Text="Select" Value="-1" />
                                                            <asp:ListItem Text="N/A" Value="0" />
                                                            <asp:ListItem Text="Small" Value="1" />
                                                            <asp:ListItem Text="Medium" Value="2" />
                                                            <asp:ListItem Text="Large" Value="3" />
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div9" runat="server">
                                                <label for="<%=txtAnnualGrossIncome.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Annual Income" ID="Label17" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="160px" ID="txtAnnualGrossIncome" MaxLength="12" runat="server" />
                                                        <asp:DropDownList ID="ddlAnnualGrossIncomeCurrencyCode" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </AjaxToolKit:TabPanel>
                        <AjaxToolKit:TabPanel ID="tbpContactAddress" runat="server" HeaderText="Information"
                            CssClass="menuHeader" Visible="true">
                            <HeaderTemplate>
                                <asp:Label ID="Label18" CssClass="menuHeader" runat="server">Contacts & Addresses</asp:Label>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="3" cellspacing="3" width="100%">
                                    <tr>
                                        <td>
                                            <h3>
                                                Resident Address</h3>
                                            <asp:UpdatePanel runat="server" ID="uplPAddress" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:CheckBox runat="server" ID="chkSameAsResident" Text="Same as Student's Resident Address"
                                                        Checked="false" OnCheckedChanged="chkSameAsResident_CheckedChanged" AutoPostBack="true" />
                                                    <div class="row_curved" id="divUnitNo" runat="server">
                                                        <label for="<%=txtUnitNo.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="UnitNo" ID="lblUnitNo" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:TextBox ID="txtUnitNo" Width="120px" MaxLength="20" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvUnitNo" ValidationGroup="GuardianProfile" ControlToValidate="txtUnitNo"
                                                                    runat="server" CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divStreetName" runat="server">
                                                        <label for="<%=txtStreetName.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="Street Name" ID="lblStreetName" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:TextBox ID="txtStreetName" Width="270px" MaxLength="255" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvStreetName" ValidationGroup="GuardianProfile"
                                                                    ControlToValidate="txtStreetName" runat="server" CssClass="validationErrorControl"
                                                                    Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divCountry" runat="server">
                                                        <label for="<%=ddlCountry.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="Country" ID="lblCountry" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlCountry" AutoPostBack="true"
                                                                    OnSelectedIndexChanged="ddlCountry_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvCountry" ValidationGroup="GuardianProfile" ControlToValidate="ddlCountry"
                                                                    InitialValue="-1" runat="server" CssClass="validationErrorControl" Display="Dynamic"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                            <label for="<%=ddlDistrict.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="State/Div" ID="lblDistrict" /></label>
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlDistrict" AutoPostBack="true"
                                                                    OnSelectedIndexChanged="ddlDistrict_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvDistrict" ValidationGroup="GuardianProfile" ControlToValidate="ddlDistrict"
                                                                    InitialValue="-1" runat="server" CssClass="validationErrorControl" Display="Dynamic"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="divCity" runat="server">
                                                        <label for="<%=ddlCity.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="City Name" ID="lblCity" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlCity">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="rfvCity" ValidationGroup="GuardianProfile" ControlToValidate="ddlCity"
                                                                    InitialValue="-1" runat="server" CssClass="validationErrorControl" Display="Dynamic"
                                                                    ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                            <label for="<%=txtPostCode.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="Postal" ID="lblPostCode" /></label>
                                                            <span class="indicator">
                                                                <asp:TextBox Width="100px" ID="txtPostCode" MaxLength="50" runat="server" />
                                                                <asp:RequiredFieldValidator ID="rfvPostCode" ValidationGroup="GuardianProfile" ControlToValidate="txtPostCode"
                                                                    runat="server" CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:RequiredFieldValidator>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                            <h3>
                                                Business Address</h3>
                                            <div class="row_curved" id="div12" runat="server">
                                                <label for="<%=txtUnitNo.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="UnitNo" ID="Label21" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox ID="txtBUnitNo" Width="120px" MaxLength="20" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="div13" runat="server">
                                                <label for="<%=txtBStreetName.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Street Name" ID="Label22" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox ID="txtBStreetName" Width="270px" MaxLength="255" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <div class="row_curved" id="div14" runat="server">
                                                        <label for="<%=ddlBCountry.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="Country" ID="Label23" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlBCountry" AutoPostBack="true"
                                                                    OnSelectedIndexChanged="ddlBCountry_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </span>
                                                            <label for="<%=ddlBDistrict.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="State/Div" ID="Label24" /></label>
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlBDistrict" AutoPostBack="true"
                                                                    OnSelectedIndexChanged="ddlBDistrict_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                    <div class="row_curved" id="div15" runat="server">
                                                        <label for="<%=ddlBCity.ClientID%>" class="mand_red">
                                                            <asp:Label runat="server" Text="City Name" ID="Label25" /></label>
                                                        <div class="field">
                                                            <span class="indicator">
                                                                <asp:DropDownList Width="100px" runat="server" ID="ddlBCity">
                                                                </asp:DropDownList>
                                                            </span>
                                                            <label for="<%=txtBPostCode.ClientID%>" style="width: 40px" class="mand_red">
                                                                <asp:Label runat="server" Text="Postal" ID="Label26" /></label>
                                                            <span class="indicator">
                                                                <asp:TextBox Width="100px" ID="txtBPostCode" MaxLength="50" runat="server" />
                                                            </span>
                                                        </div>
                                                        <div class="clear">
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </td>
                                        <td valign="top">
                                            <h3>
                                                Contact</h3>
                                            <div class="row_curved" id="divEmailAddress" runat="server" title="Example:example@domain.com">
                                                <label for="<%=txtEmailAddress.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Email Address(es)" ID="lblEmailAddressCaption" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="270px" ID="txtEmailAddress" MaxLength="255" runat="server" />
                                                        <asp:RegularExpressionValidator ID="revEmailAddress" ValidationGroup="GuardianProfile"
                                                            ControlToValidate="txtEmailAddress" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="<br />Invalid email address format." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divMobileNumber" runat="server">
                                                <label for="<%=txtMobileNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Mobile" ID="lblMobileNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtMobileNumber" MaxLength="50" runat="server" />
                                                        <asp:CustomValidator ID="csvContactNumbers" OnServerValidate="ContactNumbers_ServerSideValidate"
                                                            ValidationGroup="GuardianProfile" ControlToValidate="txtMobileNumber" runat="server"
                                                            CssClass="validationErrorControl" Display="Dynamic" ErrorMessage=""></asp:CustomValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divHomePhoneNumber" runat="server">
                                                <label for="<%=txtHomePhoneNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Home Phone" ID="lblHomePhoneNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtHomePhoneNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divFaxNumber" runat="server">
                                                <label for="<%=txtFaxNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Fax Number" ID="Label19" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtFaxNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divOfficePhoneNumber" runat="server">
                                                <label for="<%=txtOfficePhoneNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Office Phone" ID="Label20" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtOfficePhoneNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divOtherContactNumber" runat="server">
                                                <label for="<%=txtOtherContactNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Other Contact" ID="lblOtherContactNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtOtherContactNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divWebsiteUrl" runat="server" title="Example:http://www.example.com">
                                                <label for="<%=txtWebsiteUrl.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Website URL" ID="lblWebsiteUrl" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Text="http://www.example.com" Width="240px" ID="txtWebsiteUrl" MaxLength="255"
                                                            runat="server"></asp:TextBox>
                                                        <asp:RegularExpressionValidator ID="revWebsiteUrl" ValidationGroup="GuardianProfile"
                                                            ControlToValidate="txtWebsiteUrl" runat="server" CssClass="validationErrorControl"
                                                            Display="Dynamic" ErrorMessage="<br />Invalid HTTP URL format." Text="" ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </AjaxToolKit:TabPanel>
                        <AjaxToolKit:TabPanel ID="tbpOtherDetail" runat="server" HeaderText="Information"
                            CssClass="menuHeader" Visible="true">
                            <HeaderTemplate>
                                <asp:Label ID="Label4" CssClass="menuHeader" runat="server">Other Details</asp:Label>
                            </HeaderTemplate>
                            <ContentTemplate>
                                <table cellpadding="3" cellspacing="3" width="100%">
                                    <tr>
                                        <td>
                                            <div class="row_curved" id="divDrivingLicenceType" runat="server">
                                                <label for="<%=ddlDrivingLicenceType.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Driving Licence Type" ID="lblDrivingLicenceType" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlDrivingLicenceType">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divDrivingLicenceNumber" runat="server">
                                                <label for="<%=txtDrivingLicenceNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Driving Licence No." ID="lblDrivingLicenceNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="120px" ID="txtDrivingLicenceNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divTravelDocType" runat="server">
                                                <label for="<%=ddlTravelDocType.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Travel Document Type" ID="lblTravelDocType" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlTravelDocType">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divTravelDocNumber" runat="server">
                                                <label for="<%=txtTravelDocNumber.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Travel Document Number" ID="lblTravelDocNumber" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:TextBox Width="220px" ID="txtTravelDocNumber" MaxLength="50" runat="server" />
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="row_curved" id="divBloodGroup" runat="server">
                                                <label for="<%=ddlBloodGroup.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Blood Group" ID="lblBloodGroup" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlBloodGroup">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divRaceCode" runat="server">
                                                <label for="<%=ddlRaceCode.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Race" ID="lblRaceCode" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlRaceCode">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divReligion" runat="server">
                                                <label for="<%=ddlReligion.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Religion" ID="lblReligion" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlReligion">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                            <div class="row_curved" id="divNationality" runat="server">
                                                <label for="<%=ddlNationality.ClientID%>" class="mand_red">
                                                    <asp:Label runat="server" Text="Nationality" ID="lblNationality" /></label>
                                                <div class="field">
                                                    <span class="indicator">
                                                        <asp:DropDownList runat="server" ID="ddlNationality">
                                                        </asp:DropDownList>
                                                    </span>
                                                </div>
                                                <div class="clear">
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </ContentTemplate>
                        </AjaxToolKit:TabPanel>
                    </AjaxToolKit:TabContainer>
                    <div class="row_curved" style="background-color: #efefef;" id="divButton" runat="server">
                        <label>
                            &nbsp;</label>
                        <div class="field" style="width: 650px;">
                            <span class="indicator">
                                <asp:Button ID="btnSubmit" CssClass="button_normal_submit" Text="Save" ValidationGroup="GuardianProfile"
                                    OnClientClick="SubmitOnClientClick(this, 'GuardianProfile');" runat="server"
                                    OnClick="btnSubmit_Click" /></span> &nbsp;&nbsp;<asp:Button runat="server" ID="btnNew"
                                        Text="New" CssClass="button_normal_submit" OnClick="btnAddNewFamily_Click" />
                            &nbsp;&nbsp;<asp:Button runat="server" ID="btnRegister" CssClass="button_normal_submit"
                                Visible="false" Text="Register" OnClick="btnRegisterStudent_Click" />
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row_curved" id="divMessage" runat="server">
                        <label>
                            &nbsp;</label>
                        <div class="field">
                            <span class="indicator">
                                <asp:Label ID="lblMessage" runat="server"></asp:Label>
                            </span>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        //<![CDATA[
        SetSumitNormalButtonAttribute(document.getElementById('<%=btnSubmit.ClientID%>'));
        //]]>
    </script>

</asp:Content>
